Skip to content

Applies to

net11.0-android37.0, net10.0-android36.0

public Task<IBitmap?> Load(Stream sourceStream, float? desiredWidth, float? desiredHeight)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IBitmapLoader. The member doesn't override them on this type.

Summary: Loads a bitmap from a byte stream.

Parameters

NameTypeDescription
sourceStreamStream (opens in a new tab)The stream to load the image from.
desiredWidthfloat? (opens in a new tab)The desired width of the image.
desiredHeightfloat? (opens in a new tab)The desired height of the image.

Returns: Task (opens in a new tab) -- A future result representing the loaded image.